{% extends "base.html" %}
{# Copyright The IETF Trust 2023, All Rights Reserved #}
{% load origin %}
{% load static ietf_filters %}
{% block title %}{{type.name}}s{% endblock %}
{% block content %}
  {% origin %}
  <h1>{{type.name}}s</h1>
  {% for doc in docs %}
    <div class="card mb-3" id="{{doc.name}}">
    <div class="card-header"><a href="{% url 'ietf.doc.views_doc.document_main' name=doc.name %}">{{doc.name|prettystdname}}</a></div>
      <div class="card-body">
        {% for rfc in doc.contains|dictsort:"rfc_number" %}
          <p><a href="{% url 'ietf.doc.views_doc.document_main' name=rfc.name %}">{{rfc.name|prettystdname}}</a> : {{rfc.title}}</p>
        {% empty %}
          <p>{{doc.name|prettystdname}} currently contains no RFCs
        {% endfor %}
      </div>
    </div>
  {% endfor %}
{% endblock %}